﻿@model TrexSpace.Shell.Models.RegisterModel

@{
    ViewBag.Title = "Register";
}

<h2>Create a New Account</h2>
<p>
    Use the form below to create a new account. 
</p>

   


<script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"></script>
<script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"></script>

 



     



@using (Html.BeginForm())
{   
    
    @Html.ValidationSummary("Please correct the errors and try again.")
  <div id="register-account"> 
   <table id="register-account-Table" >
       
       <tr>

            <td> @Html.LabelFor(m => m.UserName) </td>       
            <td>    @Html.TextBoxFor(m => m.UserName)
         </tr>

        <tr> <td colspan=2>
               <p> This will be used to sign-in to your account </p>
               
        </td></tr>

       
       
       <tr>
       <td>@Html.LabelFor(m => m.Password) </td>
          <td>  @Html.PasswordFor(m => m.Password)  
              
              </td>
       </tr>

      

      <tr>           
            <td>@Html.LabelFor(m => m.ConfirmPassword)</td>
             <td>   @Html.PasswordFor(m => m.ConfirmPassword) 
             
             </td>
        </tr>

   

        <tr>  
         <td>@Html.LabelFor(m => m.SecurityQuestion)    </td> 
             <td>
                @Html.TextBoxFor(m => m.SecurityQuestion)
               
            </td>
        </tr>
      

         <tr>
              <td>@Html.LabelFor(m => m.SecurityAnswer)       </td>
              <td>
                @Html.TextBoxFor(m => m.SecurityAnswer)
               
            </td>

            </tr>

         
          <tr>
            <td>
                <input class="t-button-submit" type="submit" value="Register" /> 
              @*  @Html.ValidationMessage("_FORM");*@
             
            </td>
            </tr>
 </table>
 </div>
}

